package com.zsh.boot.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author zsh
 * @Description
 * @create 2022-02-25 15:03
 */
@Controller
public class ViewTestController {

    @GetMapping("/zsh")
    public String zsh(Model model){
        model.addAttribute("msg","你好zsh");
        model.addAttribute("link","http://www.baidu.com");
        return "success";
    }
}
